package streamforce.crypto.event;

/**
 * representing the transformed ciphertexts emitted by the cloud, which are 
 * to be sent to the user for decryption.
 * The schema is <policy Id, ciphertext> 
 */
public class TransformedCTEventJoin extends AbstractEvent{
	private int userId, userId1;
	private byte[][] originalCipher;
	private byte[][] transformedCipher;
	private int timestamp1, hour1, stockId1; 
	
	public TransformedCTEventJoin(int userId, int userId1, int ts1, int hour1, int sid1,
			int ts2, int hour2, int sid2, byte[][] ct, byte[][] ct1) {
		super(ts1,hour1, sid1);
		this.userId = userId;
		this.userId1 = userId1;
		this.timestamp1 = ts2;
		this.hour1 = hour2; 
		this.stockId1 = sid2;
		
		this.originalCipher = ct;
		this.transformedCipher = ct1;			
		
	}

	
	public int getHour1() {
		return hour1;
	}


	public void setHour1(int hour1) {
		this.hour1 = hour1;
	}


	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getUserId1() {
		return userId1;
	}

	public void setUserId1(int userId1) {
		this.userId1 = userId1;
	}

	public byte[][] getOriginalCipher() {
		return originalCipher;
	}

	public void setOriginalCipher(byte[][] originalCipher) {
		this.originalCipher = originalCipher;
	}

	public byte[][] getTransformedCipher() {
		return transformedCipher;
	}

	public void setTransformedCipher(byte[][] transformedCipher) {
		this.transformedCipher = transformedCipher;
	}

	public int getTimestamp1() {
		return timestamp1;
	}

	public void setTimestamp1(int timestamp1) {
		this.timestamp1 = timestamp1;
	}

	public int getStockId1() {
		return stockId1;
	}

	public void setStockId1(int stockId1) {
		this.stockId1 = stockId1;
	}

	
	
}
